<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">

<mapper namespace="${NAMESPACE}">

    <select id="queryList" resultType="${ENTITY_CLASS_NAME}">
        SELECT
        <#list attrs as attr>
            ${attr.columnName} AS "${attr.name}"<#if attr_has_next>,</#if>
        </#list>
        FROM
            ${tableName?upper_case}
    </select>

</mapper>